export interface CommonResult<T = {}> {
  code: number
  message: string
  data: T
}

export interface CommonPage<T> {
  code: number
  message: string
  data: {
    list: T[]
    total: number
    pageSize: number
    pageNum: number
    totalPage: number
  }
}

export interface PageDto {
  pageSize?: number
  pageNum?: number
}
